package com.nebula.core.dsl.operation;

import com.nebula.core.util.StrFormatter;

/**
 * 函数操作类
 *
 * @author zhangtao
 */
public class FunctionOperation {
    public static String properties(String filed) {
        return StrFormatter.format("properties({})", filed);
    }

    public static String srcId() {
        return "src(edge)";
    }

    public static String dstId() {
        return "dst(edge)";
    }

    public static String rank() {
        return "rank(edge)";
    }
}
